package Tests;

import org.jrabbit.base.sound.Music;
import org.jrabbit.standard.game.main.StandardGame;
import org.jrabbit.standard.game.objects.Sprite;

import Code.Basic.World.GameWorld;
import Code.Objects.Characters.Player.Player;
import Code.Objects.Structures.Pod.Pod;

public class DeadSteelTest5 extends StandardGame
{

	public DeadSteelTest5()
	{
		super("Dead Steel", "Resources/Images/General/Icon.png");
	}
	
	protected void setup()
	{
		profiler.createNewTracker("Physics");
		GameWorld GW = new GameWorld();
		GW.addPlayer(new Player());
		GW.getPlayer().setLocation(500, 500);
		GW.makeCurrent();
		GW.initialize();
		
		GW.addObstacle(new Pod(), "Structures");
		GW.addRenderable(new Sprite("Resources/Images/Objects/Pod/Pod Base.png"), "Decor");
		Music.loop("Resources/Sounds/Music/Pipes.ogg");
	}
	
	public static void main(String[] args)
	{
		init();
		new DeadSteelTest5().run();
	}
}